﻿using System.Collections.Generic;
using System.Xml.Serialization;
using Cirrious.MvvmCross.Plugins.Sqlite;
using Conference.Core.Dal;

namespace Conference.Core.BL.Entities
{
    public partial class SessionEntity 
    {
        [XmlIgnore]
        [Ignore]
        public IEnumerable<SpeakerEntity> Speakers
        {
            get
            {
                return Repositories.Session.GetSpeakers(this);
            }
        }

        [XmlIgnore]
        [Ignore]
        public string SpeakerNames { 
            get { return null; }
        }

    }

}
